package com.hyt.it.ogt.kq.service.bm.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hyt.core.base.BaseEntity;
import com.hyt.it.ogt.cj.enums.ComponentNameEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报名项目科目区域额度限制
 * </p>
 *
 * @author huangwu
 * @since 2023-08-18
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bm_project_subject_arealimit")
@ApiModel(value = "ProjectSubjectAreaLimit对象", description = "报名项目科目区域额度限制")
public class ProjectSubjectAreaLimit extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报名项目id")
    private String projectId;

    @ApiModelProperty(value = "科目id")
    private String subjectId;

    @ApiModelProperty(value = "科目名称")
    private String subjectName;
    
    @ApiModelProperty(value = "报名区域")
    private String bmArea;
    
    @ApiModelProperty(value = "报名额度")
    private Integer bmLimit;
    
    
    /***
     * 获取报名科目区域采集信息key
     * @return
     */
    public static String getBmAreaCollKey() {
        return ComponentNameEnum.area.getCode();
    }
  
}
